wayland: Move toplevel/popup/drag surface definitions higher up
authorJonas Ådahl <jadahl@gmail.com>
Tue, 17 Mar 2020 14:23:57 +0000 (15:23 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Wed, 8 Apr 2020 21:32:47 +0000 (23:32 +0200)
commit0e601c0a70b55c2f42322c24b3351f9f28e4c196
tree0ebcc21caa4c06a067c6c5015f4cd8bcc286aa3b
parent5425edff8282ac965888468aff31470d13ce8cd8
wayland: Move toplevel/popup/drag surface definitions higher up

We them up there, so that code higher up compared to where they are
defined now can make use of them. Also add a few macros for type
checking and casting.
gdk/wayland/gdksurface-wayland.c